﻿using System.Collections.Generic;
using SurveySystem.Model;

namespace SurveySystem.Repository
{
    public interface ISurveyAnswerRepository
    {
        Answer GetAnswerByID(int answerID);
        List<Answer> GetAnswersForQuestion(int questionID);
        List<Answer> GetAnswersForSurvey(int surveyID);
        void AddAnswer(Answer a);
        void UpdateAnswer(Answer a);
        void DeleteAnswer(int answerID);
    }
}
